import mysql from 'mysql';
import { dbconfig } from './type';

const dbConfig: dbconfig = {
    host: '127.0.0.1',
    user: 'root',
    password: '1234',
    database: 'mms'
};

export const db = mysql.createPool(dbConfig);